// Club.Card 招生

export default [

  { // 卡种管理
    path: 'cardManagement',
    meta: {
      title: 'cardManagement',
      code: 'Club.Card'
    },
    component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/card/index.vue'),
    children: [
      { // 卡种列表
        path: '',
        name: 'CardManagement',
        meta: {
          title: 'cardManagement',
          code: 'Club.Card',
          breadcrumb: false
        },
        component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/card/components/cardList.vue')
      }
    ]
  },
  { // 售卡列表
    path: 'saleCardList',
    meta: {
      title: 'saleCardList',
      code: 'Club.Card'
    },
    component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/card/index.vue'),
    children: [
      { // 售卡列表
        path: '',
        name: 'SaleCardList',
        meta: {
          title: 'saleCardList',
          code: 'Club.Card',
          breadcrumb: false
        },
        component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/card/components/saleCardList.vue')
      },
      { // 操作记录
        path: 'operationRecord/:id',
        name: 'OperationRecord',
        meta: {
          title: 'operationRecord',
          code: 'Club.Card',
          parentRouteName: 'SaleCardList'
        },
        component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/card/components/operationRecord.vue')
      }
    ]
  },
  { // 招生 - 报名续费
    path: 'renewal',
    name: 'Renewal',
    meta: {
      title: 'renewal',
      code: 'Club.Card'
    },
    component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/students/renewal/index.vue'),
    children: []
  },
  { // 招生 - 续费预警
    path: 'earlyWarning',
    name: 'EarlyWarning',
    meta: {
      title: 'earlyWarning',
      code: 'Club.Card'
    },
    component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/students/earlyWarning/index.vue'),
    children: []
  },
  { // 招生 - crm
    path: 'crm',
    name: 'Crm',
    meta: {
      title: 'crm',
      breadcrumb: true,
      code: 'Club.Card'
    },
    component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/crm/index.vue'),
    children: [
      { // tab
        path: '',
        name: 'Crm',
        meta: {
          code: 'Club.Card',
          breadcrumb: false,
          parentRouteName: 'Crm'
        },
        component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/crm/Crmtap.vue')
      },
      { // 我的客户
        path: 'myclient',
        name: 'Myclient',
        meta: {
          code: 'Club.Card',
          breadcrumb: false,
          parentRouteName: 'Crm'
        },
        component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/crm/components/myclient.vue'),
        children: [
          {
            path: 'myclientlist',
            name: 'Myclientlist',
            meta: {
              code: 'Club.Card',
              breadcrumb: false,
              parentRouteName: 'Crm'
            },
            component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/crm/components/myclientlist.vue')
          },
          {
            path: 'follow',
            name: 'Follow',
            meta: {
              title: 'follow',
              code: 'Club.Card',
              parentRouteName: 'Crm'
            },
            component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/crm/components/follow.vue')
          },
          { // 选择预约班级（课表）
            path: 'trialclass',
            name: 'Trialclass',
            hidden: true,
            meta: {
              title: 'trialclass',
              parentRouteName: 'Crm',
              code: 'Club.Class'
            },
            component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/timetable/index.vue')
          }
        ]
      },
      {
        path: 'crmSetting',
        name: 'CRMSetting',
        meta: {
          title: 'crmSetting',
          code: 'Club.Card',
          breadcrumb: true,
          parentRouteName: 'Crm'
        },
        component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/crm/CRMSetting/index.vue')
      },
      {
        path: 'enrollmentAnalysis',
        name: 'EnrollmentAnalysis',
        meta: {
          title: 'enrollmentAnalysis',
          code: 'Club.Card',
          breadcrumb: true,
          parentRouteName: 'Crm'
        },
        component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/crm/enrollmentAnalysis/detail.vue')
      }
    ]
  },
  { // 招生 - 试客
    path: 'trialcourse',
    meta: {
      title: 'trialclass',
      code: 'Club.CustomerTrialCourse'
    },
    component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/trialcourse/index.vue'),
    children: [
      { // tab
        path: '',
        name: 'Trialcourse',
        meta: {
          code: 'Club.CustomerTrialCourse',
          breadcrumb: true,
          parentRouteName: 'Trialcourse'
        },
        component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/trialcourse/components/trialcourselist.vue')
      },
      { // 选择预约班级（课表）
        path: 'trialclass',
        name: 'Choseclass',
        hidden: true,
        meta: {
          parentRouteName: 'Trialcourse',
          code: 'Club.CustomerTrialCourse'
        },
        component: () => import(/* webpackChunkName: "common" */ '@/viewsHall/timetable/index.vue')
      }
    ]
  }
];
